package edu.zut.cs.software.teach.student.service;

import java.util.List;

import edu.zut.cs.software.teach.base.domain.service.GenericManager;
import edu.zut.cs.software.teach.student.domain.Student;

/**
  接口类，只需要写方法，不用在这里实现
 */

public interface StudentManager extends GenericManager<Long, Student> {
	/**
	 * get student list by given code
	 *
	 * @param code 
	 * @return
	 */
	List<Student> findByCode(String code);

	/**
	 *   find student by given fullname
	 * @param fullname
	 * @return
	 */
	List<Student> findByFullname(String fullname);
	
}
